package com.king01.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ：lqs
 * @date ：Created in 2023/9/26 17:21
 * @description：
 * @modified By：
 * @version:
 */
@Data
public class Branch {

    private Integer sessionStaffid;
    private String sessionBranchid;

    private Integer id;
    private Integer branchid;
    private String branchname;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")  //接受请求参数的时间格式
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") //把响应的日期json转为为相应的格式
    private Date starttime;
    private String address;
    private Integer state;
    private Integer staffid;
    //员工人数//
    private Integer count;
    //店长姓名//
    private String staffname;
    /*角色id */
    private Integer roleid;
    private Integer staffNum;
}

